Range
Function
This API is used to get Maintenance > Sensor Debug parameter range.
Request Message
Parameter Description
Table 1
| Parameter | Range | Type | Description |
|---|---|---|---|
| channel | "CH1"…"CHx" | string array | The channels supported by the device. |
Sample:
POST /API/Maintenance/SensorDebug/Range HTTP/1.1
{
"version": "1.0",
"data": {}
}
Response Message
Parameter Description
Table 2
| Parameter | Range | Type | Description |
|---|---|---|---|
| channel_info | object | Total channel information see Table 3. | |
| channel_max | int | The maximum number of channels. |
Table 3
| Parameter | Range | Type | Description |
|---|---|---|---|
| CH1…CHx | object | See Table 4 |
Table 4
| Parameter | Range | Type | Description |
|---|---|---|---|
| osd_show_enable | bool | osd sensor debug parameter switch | |
| debug_param_enable | bool | Debug parameter enable switch | |
| irlight | object | Intelligent infrared light parameters. See Table 5 | |
| supplylight | object | Intelligent fill light parameters. See Table 6 | |
| softps | object | Soft photosensitivity parameters. See Table 7 |
Table 5
| Parameter | Range | Type | Description |
|---|---|---|---|
| far_lum_y_thd_up | 0-0xFFFFFFFF | unsigned int | High beam brightness difference upper limit threshold |
| far_lum_y_thd_down | 0-0xFFFFFFFF | unsigned int | High beam brightness difference lower limit threshold |
| far_total_gain_thd | 0-0xFFFFFFFF | unsigned int | High beam total gain threshold |
| near_lum_y_thd_up | 0-0xFFFFFFFF | unsigned int | Low beam brightness difference upper limit threshold |
| near_lum_y_thd_down | 0-0xFFFFFFFF | unsigned int | Low beam brightness difference lower limit threshold |
| near_total_gain_thd | 0-0xFFFFFFFF | unsigned int | Low beam total gain threshold |
Table 6
| Parameter | Range | Type | Description |
|---|---|---|---|
| far_lv_thd | 0-0xFFFFFFFF | unsigned int | High beam brightness threshold |
| near_lv_thd | 0-0xFFFFFFFF | unsigned int | Low beam brightness threshold |
| far_gain_thd | 0-0xFFFFFFFF | unsigned int | High beam total gain threshold |
| near_gain_thd | 0-0xFFFFFFFF | unsigned int | Low beam total gain threshold |
| far_lum_y_thd | 0-0xFFFFFFFF | unsigned int | High beam brightness difference threshold |
| near_lum_y_thd | 0-0xFFFFFFFF | unsigned int | Low beam brightness difference threshold |
| black_point_thd | 0-0xFFFFFFFF | unsigned int | Black Point Threshold |
| far_protect_thd | 0-0xFFFFFFFF | unsigned int | High beam protection threshold |
| near_protect_thd | 0-0xFFFFFFFF | unsigned int | Low beam protection threshold |
| far_increase_thd | 0-0xFFFFFFFF | unsigned int | High beam threshold |
| near_increase_thd | 0-0xFFFFFFFF | unsigned int | Low beam threshold |
| far_decrease_thd | 0-0xFFFFFFFF | unsigned int | High beam reduction threshold |
| near_decrease_thd | 0-0xFFFFFFFF | unsigned int | Low beam reduction threshold |
| far_light_on_thd_0 | 0-0xFFFFFFFF | unsigned int | High beam threshold group 1 |
| far_light_on_thd_1 | 0-0xFFFFFFFF | unsigned int | High beam threshold group 2 |
| far_light_on_thd_2 | 0-0xFFFFFFFF | unsigned int | High beam threshold group 3 |
| far_light_on_thd_3 | 0-0xFFFFFFFF | unsigned int | High beam threshold group 4 |
| near_light_on_thd_0 | 0-0xFFFFFFFF | unsigned int | Low beam threshold group 1 |
| near_light_on_thd_1 | 0-0xFFFFFFFF | unsigned int | Low beam threshold group 2 |
| near_light_on_thd_2 | 0-0xFFFFFFFF | unsigned int | Low beam threshold group 3 |
| near_light_on_thd_3 | 0-0xFFFFFFFF | unsigned int | Low beam threshold Group 4 |
Table 7
| Parameter | Range | Type | Description |
|---|---|---|---|
| day2night_thd_0 | 0-0xFFFFFFFF | unsigned int | Day to night threshold group 1 |
| day2night_thd_1 | 0-0xFFFFFFFF | unsigned int | Day to night threshold group 2 |
| day2night_thd_2 | 0-0xFFFFFFFF | unsigned int | Day to night threshold group 3 |
| day2night_thd_3 | 0-0xFFFFFFFF | unsigned int | Day to night threshold group 4 |
| night2day_d_thd_0 | 0-0xFFFFFFFF | unsigned int | Night to day lower threshold group 1 |
| night2day_d_thd_1 | 0-0xFFFFFFFF | unsigned int | Night to day lower threshold group 2 |
| night2day_d_thd_2 | 0-0xFFFFFFFF | unsigned int | Night to day lower threshold group 3 |
| night2day_d_thd_3 | 0-0xFFFFFFFF | unsigned int | Night to day lower threshold group 4 |
| night2day_ex_0 | 0-0xFFFFFFFF | unsigned int | Night to day increase value group 1 |
| night2day_ex_1 | 0-0xFFFFFFFF | unsigned int | Night to day increase value group 2 |
| night2day_ex_2 | 0-0xFFFFFFFF | unsigned int | Night to day increase value group 3 |
| night2day_ex_3 | 0-0xFFFFFFFF | unsigned int | Night to day increase value group 4 |
| night2day_R_G_ratio_0 | 0-0xFFFFFFFF | double | R:G ratio threshold for night-to-day transition Group 1 |
| night2day_R_G_ratio_1 | 0-0xFFFFFFFF | double | R:G ratio threshold for night-to-day transition Group 2 |
| night2day_R_G_ratio_2 | 0-0xFFFFFFFF | double | R:G ratio threshold for night-to-day transition Group 3 |
| night2day_R_G_ratio_3 | 0-0xFFFFFFFF | double | R:G ratio threshold for night-to-day transition Group 4 |
| night2day_R_B_ratio_0 | 0-0xFFFFFFFF | double | R:B ratio threshold from night to day Group 1 |
| night2day_R_B_ratio_1 | 0-0xFFFFFFFF | double | R:B ratio threshold from night to day Group 2 |
| night2day_R_B_ratio_2 | 0-0xFFFFFFFF | double | R:B ratio threshold from night to day Group 3 |
| night2day_R_B_ratio_3 | 0-0xFFFFFFFF | double | R:B ratio threshold from night to day Group 4 |
| lpd_day2night_gain_thd | 0-0xFFFFFFFF | unsigned int | lpd day to night gain threshold |
| lpd_night2day_gain_thd | 0-0xFFFFFFFF | unsigned int | lpd night to day gain threshold |
Sample:
HTTP/1.1 200 OK
Content-Type: application/json
{
"result": "success",
"data": {
"channel_max": 1,
"channel_info": {
"type": "object",
"items": {"CH1": {
"type": "object",
"items": {
"osd_show_enable": {"type": "bool"},
"debug_param_enable": {"type": "bool"},
"irlight": {
"type": "object",
"items": {
"far_lum_y_thd_up": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"far_lum_y_thd_down": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"far_total_gain_thd": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"near_lum_y_thd_up": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"near_lum_y_thd_down": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"near_total_gain_thd": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
}
}
},
"supplylight": {
"type": "object",
"items": {
"far_lv_thd": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"near_lv_thd": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"far_gain_thd": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"near_gain_thd": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"far_lum_y_thd": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"near_lum_y_thd": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"black_point_thd": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"far_protect_thd": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"near_protect_thd": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"far_increase_thd": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"near_increase_thd": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"far_decrease_thd": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"far_light_on_thd_0": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"far_light_on_thd_1": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"far_light_on_thd_2": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"far_light_on_thd_3": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"near_light_on_thd_0": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"near_light_on_thd_1": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"near_light_on_thd_2": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"near_light_on_thd_3": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"near_decrease_thd": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
}
}
},
"softps": {
"type": "object",
"items": {
"day2night_thd_0": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"day2night_thd_1": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"day2night_thd_2": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"day2night_thd_3": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"night2day_d_thd_0": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"night2day_d_thd_1": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"night2day_d_thd_2": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"night2day_d_thd_3": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"night2day_ex_0": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"night2day_ex_1": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"night2day_ex_2": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"night2day_ex_3": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"night2day_R_G_ratio_0": {
"type": "double",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"night2day_R_G_ratio_1": {
"type": "double",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"night2day_R_G_ratio_2": {
"type": "double",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"night2day_R_G_ratio_3": {
"type": "double",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"night2day_R_B_ratio_0": {
"type": "double",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"night2day_R_B_ratio_1": {
"type": "double",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"night2day_R_B_ratio_2": {
"type": "double",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"night2day_R_B_ratio_3": {
"type": "double",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"lpd_day2night_gain_thd": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
},
"lpd_night2day_gain_thd": {
"type": "uint32",
"mode": "r",
"min": 0,
"max": 4294967295,
"default_value": 0
}
}
}
}
}}
}
}
}
Error Code
See Response Messages Body and Common error_code for more information.